package com.timoon.sample.utils;

import java.util.ArrayList;
import java.util.List;

import com.timoon.page.Page1;
import com.timoon.sample.page.HomePage;
import com.timoon.webcomponent.utility.navs.nav1.Nav1Parameter;

/**
 *<p></p>
 *<p></p>
 *<p>Copyright:Copyright(c)2013.4.1</p>
 *<p>Company:timoon</p>
 *@author 付乐天
 *@version 1.0 */
public class SystemConfig {

	/**
	 * 获取住菜单的参数
	 * @return
	 */
	private List<Nav1Parameter> navParameters;
	
	public List<Nav1Parameter> getNav1Parameters(){
		if(this.navParameters==null){
			navParameters=new ArrayList<>();
			navParameters.add(new Nav1Parameter("主页",HomePage.class));
			navParameters.add(new Nav1Parameter("主页",Page1.class));
			navParameters.add(new Nav1Parameter("主页",Page1.class));
			navParameters.add(new Nav1Parameter("主页",Page1.class));
			navParameters.add(new Nav1Parameter("主页",Page1.class));
			navParameters.add(new Nav1Parameter("主页",Page1.class));
			navParameters.add(new Nav1Parameter("主页",Page1.class));
		}
		return navParameters;
	}
}
